$def with (thing, property)

$ name = property.name

<div class="contentBody">
    $:macros.ThingReference(thing.type, name, thing, "name")
</div>